package com.haredot.mapper;

import com.haredot.entity.Position;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface PositionMapper {
    List<Position> findPositionsByCondition(Map<String, Object> params);

    Position findPositionByName(String name);

    int insert(Position position);

    int update(Position position);

    int deleteById(Long id);

    int batchDeleteByIds(List<Long> ids);
}